﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Chat_Model.ViewModel
{
    /// <summary>
    /// 发送消息基本Model
    /// </summary>
    public class TalkBaseParam
    {
        /// <summary>
        /// 消息来源[1:好友消息;2:群聊消息]
        /// </summary>
        public int Talk_Type { get; set; }
        /// <summary>
        /// 接收者ID
        /// </summary>
        public int Receiver_Id { get; set; }
    }
    /// <summary>
    /// 发送文本消息接口参数
    /// </summary>
    public class TalkTextParam : TalkBaseParam
    {
        /// <summary>
        ///文本消息内容
        /// </summary>
        public String Text { get; set; }
    }

    /// <summary>
    /// 发送聊天文件服务接口
    /// </summary>
    public class TalkFileParam : TalkBaseParam
    {
    }
    /// <summary>
    /// 发送代码块消息接口
    /// </summary>
    public class TalkCodeParam : TalkBaseParam
    {
        /// <summary>
        /// 代码语言类型
        /// </summary>
        public String Lang { get; set; }
        /// <summary>
        /// 代码文本
        /// </summary>
        public String Code { get; set; }
    }
    /// <summary>
    /// 发送表情包消息接口 
    /// </summary>
    public class TalkEmoticonParam : TalkBaseParam
    {
        /// <summary>
        /// 表情ID
        /// </summary>
        public int Emoticon_Id { get; set; }
    }
}
